Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for curl failure #521

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Conversation

seanmil
Copy link
Contributor

@seanmil seanmil commented Oct 28, 2024

When running the peadm::agent_install shell task, fail the task if the curl command fails.

Summary

Ensure a curl failure when attempting to install the agent results in a failure of the task. Otherwise,
the task will report success regardless, leading to confusing and misleading failures in following
steps during the install.

When running the peadm::agent_install shell task, fail the
task if the curl command fails.
@seanmil seanmil requested review from a team as code owners October 28, 2024 18:04
@ragingra ragingra merged commit 6bac026 into puppetlabs:main Nov 1, 2024
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants